package com.freemalll.merchant.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.freemalll.merchant.domain.dto.MedicalLicenseDto;
import com.freemalll.merchant.domain.entity.MerMedicalLicense;
import com.freemalll.merchant.mapper.MerMedicalLicenseMapper;
import com.freemalll.merchant.service.MerMedicalLicenseService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 *  服务层实现。
 *
 * @author songshixiong
 * @since 2025-05-21
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class MerMedicalLicenseServiceImpl extends ServiceImpl<MerMedicalLicenseMapper, MerMedicalLicense> implements MerMedicalLicenseService {

    @Override
    public MedicalLicenseDto getMedicalLicenseById(String merId) {
        return baseMapper.getMedicalLicenseById(merId);
    }

}
